
#ifndef _PATHNODE_H_ 
#define _PATHNODE_H_


#include "BaseFileOp.h"
#include "gather.h"

typedef struct GSPathCell
{
	INT64 v1;
	double v2;
	double v3;
	double v4;
	double v5;
	double v6;
	double v7;
	double v8;
}*PGSPathCell;


class CPathNode  
{
public:
	bool DeletePoint(long serial);
	
	CPathNode & operator= ( CPathNode &obj);
	bool IsValueEqual(CPathNode &t);
	bool IsNameEqual(CPathNode &t);
	bool CheckIn(CPathNode &t);
	long GetPathPointNum();
	void Empty();
	CPathNode();
	virtual ~CPathNode();
	bool SavePath(CString path);
	bool LoadPath(CString path);
	bool SetPathPoint(INT64 v1,double v2,double v3,double v4,double v5,double v6,double v7,double v8);
	bool GetPathPoint(long serial,INT64 &v1,double &v2,double &v3,double &v4,double &v5,double &v6,double &v7,double &v8);
	CString path_name;
protected:
	CGather path;

};

#endif 
